#!/bin/bash
#批量生成测试文件

count=100
parrent_path=/home/hadoop/hive_load/load_file/txt/BEPSZDT0102
source_file_name=Achive-MESG-TRAN-BEPS-20171201-014045670500-BEPSZDT0102-1100-1000.xml.txt
new_file_prefix=Achive-MESG-TRAN-BEPS-20171201-014045670500-BEPSZDT0102-1100-1000-

cd $parrent_path
for i in $(seq 1 $count)
do
	rm -rf $new_file_prefix$i.xml.txt && cp $source_file_name $new_file_prefix$i.xml.txt;
done

